build: Add --with-smack, use it to reset contexts for writing objects
authorColin Walters <walters@verbum.org>
Tue, 21 Feb 2017 18:58:40 +0000 (13:58 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 22 Feb 2017 14:37:19 +0000 (14:37 +0000)
commit3ec509c89b07efbfc4b4d007327609b6dee77dd3
tree6c97e13c25bc66bf03f412c4c02839189b5f963a
parent515f83206785bd9fb50b77df17b48bbed2827cff
build: Add --with-smack, use it to reset contexts for writing objects

At some point we'll want to follow what systemd is doing and add
better support for smack, along the lines of `OstreeSePolicy`.  However,
short term this patch fixes AGL which uses Smack.

See: https://jira.automotivelinux.org/browse/SPEC-386
See: https://github.com/ostreedev/ostree/pull/698

Closes: #698
Approved by: OYTIS
configure.ac
src/libostree/ostree-repo-commit.c